package com.hm.cms.share.service;

import com.hm.cms.mongo.annotation.RecycleRecordAnnotation;
import com.hm.cms.mongo.domain.def.DbCmsDef;
import com.hm.cms.mongo.vo.CmsAdvertisingLinkVo;
import com.hm.common.model.PageInfo;
import com.hm.common.util.CommonDef.OperationRecord;

/**
 * @author shishun.wang
 * @date 下午2:38:26 2016年8月9日
 * @version 1.0
 * @describe 
 */
public interface CmsAdvertisingLinkService {

	public CmsAdvertisingLinkVo getCmsAdvertisingLink(String id);

	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_NEW, documentDef = DbCmsDef.CMS_ADVERTISING_LINK)
	public String addCmsAdvertisingLink(CmsAdvertisingLinkVo advertisingLinkVo, String operationUser);
	
	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_UPDATE, documentDef = DbCmsDef.CMS_ADVERTISING_LINK)
	public String updateCmsAdvertisingLink(CmsAdvertisingLinkVo advertisingLinkVo, String operationUser);
	
	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_DELETE, documentDef = DbCmsDef.CMS_ADVERTISING_LINK)
	public String deleteCmsAdvertisingLink(CmsAdvertisingLinkVo advertisingLinkVo, String operationUser);

	public PageInfo<CmsAdvertisingLinkVo> queryCmsAdvertisingLink(Integer pageNumber, Integer pageSize);
}
